package com.ioidea.holland

fun main() {
    val numbers = listOf(0, 10, 100)
    for (number in numbers) {
        val paddedNumber = String.format("%03d", number)
        println(paddedNumber)
    }
    println("=====================")
    var maxNum=3
    val paddedNumber2 = String.format("%12d", maxNum)
    println(paddedNumber2)
    println("=====================")
    val number = 3
    val formattedNumber = "%012d".format(number)
    println(formattedNumber)
}
